Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NDocumentFormat<TDocument,TLoadSettings,TSaveSettings> Class / LoadFromFileAsync Method / LoadFromFileAsync(NFile) Method
File to load document from. Cannot be null.


In This Topic
    LoadFromFileAsync(NFile) Method
    In This Topic
    Loads a document from the specified file.
    Syntax
    'Declaration
     
    
    Public Overloads Function LoadFromFileAsync( _
       ByVal file As NFile _
    ) As NPromise(Of TDocument)
    'Usage
     
    
    Dim instance As NDocumentFormat(Of TDocument,TLoadSettings,TSaveSettings)
    Dim file As NFile
    Dim value As NPromise(Of TDocument)
     
    value = instance.LoadFromFileAsync(file)
    public NPromise<TDocument> LoadFromFileAsync( 
       NFile file
    )

    Parameters

    file
    File to load document from. Cannot be null.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also